package com.xyoto.community.enums;

/**
 * @Author lin
 * @Date 2021/9/30 21:11
 */
public enum LoveEnum implements Code {

    /**
     * 点赞
     */
    DYNAMIC_LOVE_FAIL(1061,"动态点赞失败"),
    DYNAMIC_COMMENT_LOVE_FAIL(1062,"动态评论点赞失败"),
    DYNAMIC_COMMENT_REPLY_FAIL(1063,"动态评论回复点赞失败"),
    QUESTION_COMMENT_LOVE_FAIL(1064,"问答评论点赞失败"),
    QUESTION_COMMENT_REPLY_FAIL(1065,"取消问答评论回复点赞失败"),
    QUESTIONS_COMMENT_LOVE_FAILED(1066,"取消问答评论点赞失败"),
    DYNAMIC_COMMENT_LOVE_LOVED(1067, "已点赞该动态评论"),
    DYNAMIC_LOVE_LOVED(1068, "已点赞该动态"),
    DYNAMIC_COMMENT_REPLY_LOVE_LOVED(1069, "已点赞该动态评论回复"),
    QUESTION_COMMENT_LOVED(1070, "已点赞该问答评论"),
    QUESTION_COMMENT_REPLY_LOVED(1071,"已点赞该问答评论回复"),
    ;

    private int code;
    private String msg;

    LoveEnum(int code,String msg){
        this.code = code;
        this.msg = msg;
    }

    @Override
    public int code() {
        return this.code;
    }

    @Override
    public String msg() {
        return this.msg;
    }
}
